package com.ruoyi.registrations.service;

import java.util.List;
import com.ruoyi.registrations.domain.Registrations;

/**
 * 挂号记录Service接口
 * 
 * @author anyunyi
 * @date 2025-05-07
 */
public interface IRegistrationsService 
{
    /**
     * 查询挂号记录
     * 
     * @param registrationId 挂号记录主键
     * @return 挂号记录
     */
    public Registrations selectRegistrationsByRegistrationId(Long registrationId);

    /**
     * 查询挂号记录列表
     * 
     * @param registrations 挂号记录
     * @return 挂号记录集合
     */
    public List<Registrations> selectRegistrationsList(Registrations registrations);

    /**
     * 新增挂号记录
     * 
     * @param registrations 挂号记录
     * @return 结果
     */
    public int insertRegistrations(Registrations registrations);

    /**
     * 修改挂号记录
     * 
     * @param registrations 挂号记录
     * @return 结果
     */
    public int updateRegistrations(Registrations registrations);

    /**
     * 批量删除挂号记录
     * 
     * @param registrationIds 需要删除的挂号记录主键集合
     * @return 结果
     */
    public int deleteRegistrationsByRegistrationIds(Long[] registrationIds);

    /**
     * 删除挂号记录信息
     * 
     * @param registrationId 挂号记录主键
     * @return 结果
     */
    public int deleteRegistrationsByRegistrationId(Long registrationId);
}
